<?php
class Silk_Routes extends Silk_Gateway
{

    protected $_dao_class = 'Silk_Dao_Route';

    protected $_model_class = 'Silk_Route';

    protected $_primary_key = 'route_id';

    public function getSite($pRoute)
    {
        $route = $this->getModelObject($pRoute);

        $Sites = new Silk_Sites();

        return $Sites->fetch($route->site_id);
    }


}

 ?>